<?php

namespace addons\shopro\console;

use addons\shopro\service\commission\Agent;
use Workerman\Timer;
use think\console\Input;
use think\console\Output;

class ShoproLevel4Share extends Command
{

    protected $input = null;
    protected $output = null;

    /**
     * 帮助命令配置
     */
    protected function configure()
    {
        $this->setName('shopro:level4share')
            ->setDescription('金牌会员分红');
    }


    /**
     * 执行帮助命令
     */
    protected function execute(Input $input, Output $output)
    {
        \think\Queue::push('\addons\shopro\job\Commission@runAgentLevel4SharMoney', [], 'shopro');
    }

}
